import junit.framework.TestCase;


public class TestArbol extends TestCase {

	int[] vector = new int[3];

	public TestArbol(){
		vector[0] = 3;
		vector[1] = 5;
		vector[2] = 1;
	}
	
	public void test() {
	Arbol arbol = new Arbol(vector);
	assertEquals(1, arbol.getFirst());
	
	
	assertEquals(1, (arbol.left(0)));	//posicion en la que se encuentra 
	assertEquals(2, (arbol.right(0)));
	
	
	}
	
}
